package com.congwulin.wechat.mapper.order;

import com.congwulin.wechat.entity.order.OrderHeadVO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface OrderHeadMapper {
    int deleteByPrimaryKey(String id);

    int insert(OrderHeadVO record);

    int batchInsert(List<OrderHeadVO> record);

    int batchUpdate(List<OrderHeadVO> record);

    int insertSelective(OrderHeadVO record);

    OrderHeadVO selectByPrimaryKey(String id);

    List<OrderHeadVO> selectAllForUserByPage(@Param("search")HashMap searchParams);

    int updateByPrimaryKeySelective(OrderHeadVO record);

    int updateByPrimaryKey(OrderHeadVO record);
}
